#include <string>
#include <iostream>
#include <chrono>
#include <thread>
using namespace std;

int main(int argc, char* argv[])
{
    const int times = 10000000;
    cout << "start" << endl;
    auto start = chrono::steady_clock::now();
    chrono::time_point<chrono::steady_clock> tmp1;
    for (int i = 0; i < times; i++)
    {
        tmp1 = chrono::steady_clock::now();
    }
    auto end = chrono::steady_clock::now();
    cout << "end" << endl;

    cout << chrono::duration_cast<chrono::milliseconds>(end - start).count() << endl;

    start = chrono::steady_clock::now();
    for (int i = 0; i < times; i++)
    {
        clock();
    }
    end = chrono::steady_clock::now();
    cout << chrono::duration_cast<chrono::milliseconds>(end - start).count() << endl;
    return 0;
}



